package com.accompany.service;

import com.accompany.entity.ChatSession;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 聊天会话表 服务类
 * </p>
 *
 * @author DC
 * @since 2024-12-26
 */
public interface ChatSessionService extends IService<ChatSession> {

    Page<ChatSession> getPaginatedChatSessions(Integer page, Integer size);

    List<ChatSession> getAllChatSessions();

    ChatSession getChatSessionById(Long id);

    void updateChatSession(ChatSession chatSession);

    void deleteChatSession(Long id);

    void createChatSession(ChatSession chatSession);
}
